package string;

public class CharAtDemo {
    public static void main(String[] args) {
        //                      111111------和下面的连成10/11/12/13/14/15
        //            0123456789012345
        String str = "thinking in java";
        char c = str.charAt(10); //获取str中下标10所对应的字符
        System.out.println(c); //n
    }
}
